package com.goods.business.mapper;

import com.goods.common.model.business.Product;
import com.goods.common.model.business.ProductStock;
import com.goods.common.vo.business.InStockItemVO;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


public interface ProductMapper extends Mapper<Product> {
    List<InStockItemVO> selectByInNum(String inNum);

    List<Product> selectExt(String name,Integer status, Long category, Long category1, Long category2);

    ProductStock selectStock(String pNum);

    void updateStatus(Long id, Integer code);
}
